package climspace.ejb;

import java.util.Date;

import climspace.data.WeatherData;
import climspace.data.WeatherStation;


public class WeatherDataOutput {
	String latitude;
	
	String longitude;
	
	String station_name;
	
	String primary_id;
	
	Date entry_datetime;
	
	double mnet_id;
	
	double station_latitude;
	
	double station_longitude;
	
	double station_elevation;
	
	double temperature;
	
	double wind_speed;
	
	double wind_direction;
	
	double wind_gust;
	
	double sea_level_pressure;
	
	double altimeter;
	
	double dew_point;
	
	double relative_humidity;
	
	double weather_code;
	
	double precipitation;

	public WeatherDataOutput(WeatherStation weatherStation,
			WeatherData weatherData) {
		setLatitude(weatherStation.getLatitude());
		setLongitude(weatherStation.getLongitude());
		setStation_name(weatherStation.getStation_name());
		setPrimary_id(weatherData.getPrimary_id());
		setEntry_datetime(weatherData.getEntry_datetime());
		setMnet_id(weatherData.getMnet_id());
		setStation_latitude(weatherData.getStation_latitude());
		setStation_longitude(weatherData.getStation_longitude());
		setStation_elevation(weatherData.getStation_elevation());
		setTemperature(weatherData.getTemperature());
		setWind_speed(weatherData.getWind_speed());
		setWind_direction(weatherData.getWind_direction());
		setWind_gust(weatherData.getWind_gust());
		setSea_level_pressure(weatherData.getSea_level_pressure());
		setAltimeter(weatherData.getAltimeter());
		setDew_point(weatherData.getDew_point());
		setRelative_humidity(weatherData.getRelative_humidity());
		setWeather_code(weatherData.getWeather_code());
		setPrecipitation(weatherData.getPrecipitation());
	}
	
	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getPrimary_id() {
		return primary_id;
	}

	public void setPrimary_id(String primary_id) {
		this.primary_id = primary_id;
	}

	public Date getEntry_datetime() {
		return entry_datetime;
	}

	public void setEntry_datetime(Date entry_datetime) {
		this.entry_datetime = entry_datetime;
	}

	public double getMnet_id() {
		return mnet_id;
	}

	public void setMnet_id(double mnet_id) {
		this.mnet_id = mnet_id;
	}

	public double getStation_latitude() {
		return station_latitude;
	}

	public void setStation_latitude(double station_latitude) {
		this.station_latitude = station_latitude;
	}

	public double getStation_longitude() {
		return station_longitude;
	}

	public void setStation_longitude(double station_longitude) {
		this.station_longitude = station_longitude;
	}

	public double getStation_elevation() {
		return station_elevation;
	}

	public void setStation_elevation(double station_elevation) {
		this.station_elevation = station_elevation;
	}

	public double getTemperature() {
		return temperature;
	}

	public void setTemperature(double temperature) {
		this.temperature = temperature;
	}

	public double getWind_speed() {
		return wind_speed;
	}

	public void setWind_speed(double wind_speed) {
		this.wind_speed = wind_speed;
	}

	public double getWind_direction() {
		return wind_direction;
	}

	public void setWind_direction(double wind_direction) {
		this.wind_direction = wind_direction;
	}

	public double getWind_gust() {
		return wind_gust;
	}

	public void setWind_gust(double wind_gust) {
		this.wind_gust = wind_gust;
	}

	public double getSea_level_pressure() {
		return sea_level_pressure;
	}

	public void setSea_level_pressure(double sea_level_pressure) {
		this.sea_level_pressure = sea_level_pressure;
	}

	public double getAltimeter() {
		return altimeter;
	}

	public void setAltimeter(double altimeter) {
		this.altimeter = altimeter;
	}

	public double getDew_point() {
		return dew_point;
	}

	public void setDew_point(double dew_point) {
		this.dew_point = dew_point;
	}

	public double getRelative_humidity() {
		return relative_humidity;
	}

	public void setRelative_humidity(double relative_humidity) {
		this.relative_humidity = relative_humidity;
	}

	public double getWeather_code() {
		return weather_code;
	}

	public void setWeather_code(double weather_code) {
		this.weather_code = weather_code;
	}

	public double getPrecipitation() {
		return precipitation;
	}

	public void setPrecipitation(double precipitation) {
		this.precipitation = precipitation;
	}

	public String getStation_name() {
		return station_name;
	}

	public void setStation_name(String station_name) {
		this.station_name = station_name;
	}
}
